package com.digitalcollege.bean.custom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @class: PageQuery
 * @author: liyusheng
 * @description:
 * @date: 2022/12/17 20:39
 */
@ApiModel("分页查询")
@Data
public class PageQuery {
    @ApiModelProperty("当前页")
    private Integer current = 1;

    @ApiModelProperty("页码大小")
    private Integer size = 10;

    @ApiModelProperty("升序字段")
    private String asc;

    @ApiModelProperty("降序字段")
    private String desc;
}
